#!/bin/bash
# 打印1-10 数字
num=1
while [ $num -le 10 ];
do
	echo "$num"
	num=$(($num+1))

done
echo "-------------"

until [ $num -le 0 ];
do
	echo "$num"
	num=$(($num-1))
done
echo "-----------------"
exit 0
